function HomeModel ($http) {

	function Home(HomeData) {
		
		if(HomeData){
			this.setData(HomeData);
		}
	};
	Home.prototype = {
		setData: function(HomeData) {
			angular.extend(this, HomeData);
		},
		retourneListesDonneesPageAccueil: function () {
			var promise = $http.get('/application/index/chargerlistesdonneespageaccueil')
				.success(function (data, status, headers, config) {
					return data;
				})
				.error(function (data, status, headers, config) {
					return {"status": false};
				});
	
			return promise;
		},
	};
	return Home;
}
